﻿Partial Public Class ViewDashboardZoneLayout
    Sub New()

        ' Cet appel est requis par le concepteur.
        InitializeComponent()

        ' Ajoutez une initialisation quelconque après l'appel InitializeComponent().

    End Sub

    Public Property MaxRowCount As Integer

    Public Property MaxColumnCount As Integer

    Private Sub RowSlider_ValueChanged(sender As Object, e As Windows.RoutedPropertyChangedEventArgs(Of Double)) Handles RowSlider.ValueChanged
        RowCountSlider.Maximum = MaxRowCount - CInt(RowSlider.Value)
    End Sub

    Private Sub ColumnSlider_ValueChanged(sender As Object, e As Windows.RoutedPropertyChangedEventArgs(Of Double)) Handles ColumnSlider.ValueChanged
        ColumnCountSlider.Maximum = MaxColumnCount - CInt(ColumnSlider.Value)
    End Sub
End Class
